package com.xinyue.authorization.dao;

import com.xinyue.authorization.bean.RoleGroup;
import java.util.List;
import com.xinyue.authorization.bean.Role;
import com.xinyue.authorization.bean.Group;

public interface RoleGroupDao {
	//默认方法
	public void save(RoleGroup entity);
	public Integer deleteById(int id);
	public List<Role> queryRoleByGroupId(int groupId);
	public List<Group> queryGroupByRoleId(int roleId);
	public Integer deleteByRoleId(int roleId);
	public Integer deleteByGroupId(int groupId);
}